package com.lh.eemsserver.Service;

import com.lh.eemsserver.po.Admin;
import com.lh.eemsserver.po.User;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface AdminService {

    public int renewUserInfo(User user);

    public int newUserInfo(User user);

    public List<User> listAllUser();

    public Admin getAdminName(Admin admin);

    public int delUserInfo(User user);

    public int renewAdminInfo(Admin admin);

    public Admin getAdminInfo(@RequestBody Admin admin);
}
